<%@page import="org.apache.commons.lang.StringUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	//登录人用户名
	Object username = session.getAttribute("username");
%>
<!DOCTYPE html>
<html lang=zh-cmn-Hans>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">  
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">  
	<meta HTTP-EQUIV="Expires" CONTENT="0">   
	<title>智慧工地管理平台-首页</title>
	<link rel="stylesheet" href="<%=path%>/resources/css/style.css" />
    <link rel="stylesheet" href="<%=path%>/resources/jquery-easyui/1.5.1/themes/default/easyui.css">
    <link rel="stylesheet" href="<%=path%>/resources/jquery-easyui/1.5.1/themes/icon.css">
    <link rel="stylesheet" href="<%=path%>/resources/jquery-easyui/1.5.1/themes/color.css" />
    <script type="text/javascript" src="<%=path%>/resources/jquery-easyui/1.5.1/jquery.min.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/jquery-easyui/1.5.1/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/jquery-easyui/1.5.1/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/jquery-easyui/1.5.1/jquery.easyui.datagrid-pagination.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/jquery-easyui/1.5.1/jquery.easyui.datagrid-tips.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/Highcharts/5.0.7/code/highcharts.js"></script>
    <script type="text/javascript" src="<%=path%>/resources/js/common.js"></script>
   	<script type="text/javascript">
     	var path = '<%=path%>';
     	var basepath = '<%=basePath%>';
     	var username = '<%=username%>';
     </script>
</head>
<body>
	<div class="easyui-layout" id="index-layout" data-options="fit:false,border:false">
	    <div data-options="region:'north'" style="height:88px;overflow:hidden;">
				<div class="topout">
					<div class="topleft">
						<img src="<%=path%>/resources/images/icon/index/12-logo.png" title="系统首页" />
					</div>
					<ul class="nav">
						<%--<li><a href="tab.html"  target="rightFrame"><img src="images/icon06.png" title="系统设置" /><h2>系统设置</h2></a></li>--%>
					</ul>
					<div class="topright">
						<ul>
							<%--<li><span><img src="images/help.png" title="帮助"  class="helpimg"/></span><a href="#">帮助</a></li> --%>
                            <li><a href="#"  onclick="showCenterPanel('main','')">返回首页</a></li>
							<li><a href="javascript:void(0);" id="logout" >退出</a></li>
						</ul>
						<div class="user">
							<span><%=session.getAttribute("username")%></span><!--  <i></i> <b></b> -->
						</div>
					</div>
				</div>
		</div>
		<div data-options="region:'center',border:false">
	  		<div class="easyui-layout" id="index-c-layout" data-options="fit:true,border:false">
				<div data-options="region:'north'" style="height:28px;overflow:hidden;padding-left: 20px;">
					<a href="javascript:void(0)" id="index_sy" class="easyui-menubutton" data-options="menu:'#index_sy_child'">首页</a>
					<div id="index_sy_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('main','首页')">首页</div>
					</div>
					<a href="javascript:void(0)" id="index_spjk" class="easyui-menubutton" data-options="menu:'#index_spjk_child'">视频监控</a>
					<div id="index_spjk_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('video/cctv','')">实时视频</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('video/cctv','')">视频回放</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('video/cctv','')">视频查询</div>
					</div>
					<a href="javascript:void(0)" id="index_rygl" class="easyui-menubutton" data-options="menu:'#index_rygl_child'">人员管理</a>
					<div id="index_rygl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/realnameperson','')">实名制人员情况</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/workattendance','')">上工考勤统计</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/enterpersoncount','')">进场人数统计</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/personstatuscount','')">人员情况汇总</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/personsourcecount','')">人员来源分布</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/personagecount','')">人员年龄分布</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('person/visiterinfocount','')">访客信息统计</div>
					</div>
					<a href="javascript:void(0)" id="index_clgl" class="easyui-menubutton" data-options="menu:'#index_clgl_child'">车辆管理</a>
					<div id="index_clgl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('car/entrycarinfo','')">入口车道信息</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('car/exitcarinfo','')">出口车道信息</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('car/intrafieldcar','')">场内车辆查询</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('car/manualrelease','')">人工放行查询</div>
					</div>
					<a href="javascript:void(0)" id="index_xmgl" class="easyui-menubutton" data-options="menu:'#index_xmgl_child'">项目管理</a>
					<div id="index_xmgl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('project/buildingsiteinfo','')">工地信息管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('project/fieldapparatus','')">现场设备管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('project/projectinfo','')">工程信息管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('project/contactslist','')">通讯录管理</div>
					</div>
					<a href="javascript:void(0)" id="index_aqgl" class="easyui-menubutton" data-options="menu:'#index_aqgl_child'">安全管理</a>
					<div id="index_aqgl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('safe/safetyinspection','')">安全巡检</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('safe/safecap','')">安全帽佩戴检测</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('safe/firealarm','')">火灾预警</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('safe/cranemonitoralarm','')">塔机监测预警</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('safe/historyalarm','')">历史报警查询</div>
					</div>
					<a href="javascript:void(0)" id="index_gcjd" class="easyui-menubutton" data-options="menu:'#index_gcjd_child'">工程进度</a>
					<div id="index_gcjd_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('jobschedule/jobscheduleplan','')">工程进度计划管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('jobschedule/dailyprogresscheck','')">当日工程进度检查</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('jobschedule/progresscheckrecord','')">进度检查记录</div>
					</div>
					<a href="javascript:void(0)" id="index_zlgl" class="easyui-menubutton" data-options="menu:'#index_zlgl_child'">质量管理</a>
					<div id="index_zlgl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('qualitycontrol/specialequipment','')">特种设备质量管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('qualitycontrol/constructionviolation','')">施工违规管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('qualitycontrol/safetyviolation','')">安全管理违规管理</div>
					</div>
					<a href="javascript:void(0)" id="index_hjjc" class="easyui-menubutton" data-options="menu:'#index_hjjc_child'">环境监测</a>
					<div id="index_hjjc_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('environment/dustmonitoring','')">扬尘监测</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('environment/pm25monitoring','')">PM2.5监测</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('environment/noisemonitoring','')">噪音监测</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('environment/realtimemonitoring','')">实时环境监测</div>
					</div>
					<a href="javascript:void(0)" id="index_xtgl" class="easyui-menubutton" data-options="menu:'#index_xtgl_child'">系统管理</a>
					<div id="index_xtgl_child" style="width:150px;">
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('system/usermanage','')">用户管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('system/authoritymanage','')">权限管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('system/applicationmanage','')">应用管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('system/resourcemanage','')">资源管理</div>
						<div data-options="iconCls:'icon-search'" onclick="showCenterPanel('system/paramconfig','')">参数配置</div>
					</div>



				</div>
				<div id="index-c-layout-center" data-options="region:'center',border:true,href:'<%=basePath%>forward/main',title:''">
					<%--<div class="easyui-tabs" id="index-tabs" data-options="fit:true,border:false">--%>
			   	 		<%--<div data-options="id:'-1',title:'主页',href:'<%=basePath%>forward/main',tools:[{iconCls:'icon-mini-refresh',handler:function(){$('#index-tabs').tabs('getTab','主页').panel('refresh', '<%=basePath%>forward/main');}}]"></div>--%>
						<%--<!-- 中间部分的tabs -->--%>
					<%--</div>--%>
				</div>
	   		</div>
   		</div>
	</div>



	<!-- 查看大图window div -->
	<div id="w_img_big"class="easyui-window"    style="width: 480px; height: 560px;" title="查看大图" closed="true" collapsible="false" maximizable="true"
		 shadow="true" model="true" inline="false" resizable="true"
		 minimizable="false"></div>


  	<script type="text/javascript" src="<%=path%>/resources/js/index.js"></script>

</body>
</html>